<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Bootstrap Dashboard</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="robots" content="all,follow">
    <!-- Bootstrap CSS-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/vendor/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome CSS-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/vendor/font-awesome/css/font-awesome.min.css">
    <!-- Fontastic Custom icon font-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/fontastic.css">
    <!-- Google fonts - Roboto -->
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
    <!-- jQuery Circle-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/grasp_mobile_progress_circle-1.0.0.min.css">
    <!-- Custom Scrollbar-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css">
    <!-- theme stylesheet-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/style.default.css" id="theme-stylesheet">
    <!-- Custom stylesheet - for your changes-->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/custom.css">
    <!-- Favicon-->
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/img/favicon.ico">
    <!-- Tweaks for older IEs--><!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
  </head>
  <style>
    .label-material{
      color: #868e96;
    }
  </style>
  <body>
    <div class="page login-page">
      <div class="container">
        <div class="form-outer text-center d-flex align-items-center">
          <div class="form-inner">
            <div class="logo text-uppercase"><span>注册</span><strong class="text-primary">页面</strong></div>

            <form class="text-left form-validate" action="${pageContext.request.contextPath}/userInsert" method="post" enctype="multipart/form-data">
              <div class="form-group-material">
                <input id="register-username" type="text" name="username" required data-msg="用户名已存在或格式不对" class="input-material">
                <label for="register-username" class="label-material">用户名                  </label>
              </div>
              <div class="form-group-material">
                <input id="register-password" type="password" name="password" required data-msg="密码不合规" class="input-material">
                <label for="register-password" class="label-material">密码                    </label>
              </div>
<%--              <div class="form-group-material">--%>
<%--                <label for="register-heading" class="label-material">头像      </label>--%>
<%--                <input id="register-heading" type="file" name="userimg" required data-msg="Please enter a valid email address" class="input-material">--%>
<%--              </div>--%>
              <div class="form-group-material">
                <input id="register-phone" type="text" name="phone" required data-msg="电话要求11位" class="input-material">
                <label for="register-phone" class="label-material">电话                         </label>
              </div>
              <div class="form-group-material">
                <input id="register-email" type="email" name="email" required data-msg="请输入正确邮箱格式" class="input-material">
                <label for="register-email" class="label-material">Email                        </label>
              </div>

              <div class="form-group terms-conditions text-center">
                <input id="register-agree" name="registerAgree" type="checkbox" required value="1" data-msg="Your agreement is required" class="form-control-custom">
                <label for="register-agree">我同意条款和政策</label>
              </div>
              <div class="form-group text-center">
                <input id="register" type="submit" value="注册" class="btn btn-primary">
              </div>
            </form><small>已经有账户？  </small><a href="tologin" class="signup">登录</a>
          </div>
          <div class="copyrights text-center">
            <p>Design by Bootstrapious</p>
            
          </div>
        </div>
      </div>
    </div>
    <!-- JavaScript files-->
    <script src="${pageContext.request.contextPath}/vendor/jquery/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/vendor/popper.js/umd/popper.min.js"> </script>
    <script src="${pageContext.request.contextPath}/vendor/bootstrap/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/js/grasp_mobile_progress_circle-1.0.0.min.js"></script>
    <script src="${pageContext.request.contextPath}/vendor/jquery.cookie/jquery.cookie.js"> </script>
    <script src="${pageContext.request.contextPath}/vendor/chart.js/Chart.min.js"></script>
    <script src="${pageContext.request.contextPath}/vendor/jquery-validation/jquery.validate.min.js"></script>
    <script src="${pageContext.request.contextPath}/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js"></script>
    <!-- Main File-->
    <script src="${pageContext.request.contextPath}/js/front.js"></script>
  </body>
</html>